-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FISH-6607: Introduce core-parent #6246
Conversation
Properties required for build of core modules moved into core-aggregator as well, core-bom moved to core. # Conflicts: # api/payara-api/pom.xml # api/payara-core-bom/pom.xml # nucleus/packager/external/pom.xml # pom.xml
Jenkins test please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't build with a clean repo using the BuildExtras
profile
[ERROR] Failed to execute goal on project certificate-management-cli: Could not resolve dependencies for project fish.payara.extras.certificate-management:certificate-management-cli:glassfish-jar:6.2023.4-SNAPSHOT: Could not find artifact fish.payara.server.internal.cluster:cluster-common:jar:6.2023.4-SNAPSHOT
Fixed that one. But it opens a question of |
Yes certificate management should be an external component. |
Given that we're releasing Enterprise 6.0.0 now - should the core version still be 6.0.0 or should it be 6.1.0 (or higher)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think I need a sit down with you and a whiteboard.
Moved over the two utility methods it depended on. Moved single used method from JSONUtil to new JsonUtil as well.
unsure about the change in pom.template.xml, sorry if I broke something
Also is this intentionally not building the l10n modules as a part of core? |
Also also, isn't the api/pom.xml a little pointless now? |
I agree, is this something we can put on backlog, or does it needs solving right now?
They're not needed for building components, only for distribution, so yes, it was intentional.
It is, bom should be treated as distribution artifact, but we're not quite there yet. |
It depends where we're intending to deploy these. If we're deploying to our own maven repository, then it would still be nice to have this set up. Past this singular point in time where currently everything is
So the l10n stuff will have a completely separate release process? So we release core to wherever we publish it with its own version and it's own string substitutions, but then have what actually gets subtituted in released separately and with a completely separate version? Also, thinking ahead to where the core exists in the future where it's possibly in its own repo, we're going to have the l10n stuff where? In this repo awkwardly divorced from what it's actually the text for?
Are we not? Could you not just remove it in this PR? As of this PR it's a useless pom - you could leave the directory structure the same but simply remove the pointless pom and adjust the payara-bom to be a child of the top-level aggregator |
In order not to immediately stiffle release process, core will for now match main version yet.
Jenkins test please |
|
appserver/extras/certificate-management/certificate-management-admin/pom.xml
Outdated
Show resolved
Hide resolved
appserver/extras/certificate-management/certificate-management-cli/pom.xml
Outdated
Show resolved
Hide resolved
appserver/extras/certificate-management/certificate-management-common/pom.xml
Outdated
Show resolved
Hide resolved
appserver/extras/certificate-management/certificate-management-console-plugin/pom.xml
Outdated
Show resolved
Hide resolved
Co-authored-by: Andrew Pielage <[email protected]>
Jenkins test please |
Version changes applied in parent commit # Conflicts: # pom.xml
Jenkins test please |
# Conflicts: # api/payara-api/pom.xml # api/payara-core-bom/pom.xml # appserver/admin/admin-core/pom.xml # appserver/admingui/common/pom.xml # appserver/admingui/dataprovider/pom.xml # appserver/admingui/faces-compat/pom.xml # appserver/admingui/gf-admingui-connector/pom.xml # appserver/admingui/plugin-service/pom.xml # appserver/common/amx-javaee/pom.xml # appserver/common/annotation-framework/pom.xml # appserver/common/container-common/pom.xml # appserver/common/glassfish-ee-api/pom.xml # appserver/common/glassfish-naming/pom.xml # appserver/common/stats77/pom.xml # appserver/connectors/connectors-internal-api/pom.xml # appserver/deployment/client/pom.xml # appserver/deployment/dol/pom.xml # appserver/deployment/javaee-core/pom.xml # appserver/ejb/ejb-internal-api/pom.xml # appserver/extras/certificate-management/pom.xml # appserver/orb/orb-connector/pom.xml # appserver/orb/orb-enabler/pom.xml # appserver/packager/external/libpam4j/pom.xml # appserver/resources/resources-connector/pom.xml # appserver/security/core-ee/pom.xml # appserver/security/jaspic-provider-framework/pom.xml # appserver/security/webintegration/pom.xml # appserver/transaction/internal-api/pom.xml # appserver/web/admin/pom.xml # appserver/web/gf-web-connector/pom.xml # appserver/web/gui-plugin-common/pom.xml # appserver/web/war-util/pom.xml # appserver/web/web-core/pom.xml # appserver/web/web-embed/api/pom.xml # appserver/web/web-glue/pom.xml # appserver/web/web-naming/pom.xml # appserver/web/web-sse/pom.xml # nucleus/admin/cli/pom.xml # nucleus/admin/config-api/pom.xml # nucleus/admin/launcher/pom.xml # nucleus/admin/monitor/pom.xml # nucleus/admin/rest/rest-client/pom.xml # nucleus/admin/server-mgmt/pom.xml # nucleus/admin/util/pom.xml # nucleus/cluster/admin/pom.xml # nucleus/cluster/cli/pom.xml # nucleus/cluster/common/pom.xml # nucleus/cluster/ssh/pom.xml # nucleus/common/amx-core/pom.xml # nucleus/common/common-util/pom.xml # nucleus/common/glassfish-api/pom.xml # nucleus/common/internal-api/pom.xml # nucleus/common/mbeanserver/pom.xml # nucleus/common/scattered-archive-api/pom.xml # nucleus/common/simple-glassfish-api/pom.xml # nucleus/core/api-exporter/pom.xml # nucleus/core/bootstrap/pom.xml # nucleus/core/kernel/pom.xml # nucleus/core/logging/pom.xml # nucleus/deployment/common/pom.xml # nucleus/flashlight/framework/pom.xml # nucleus/grizzly/config/pom.xml # nucleus/grizzly/nucleus-grizzly-all/pom.xml # nucleus/hk2/config-types/pom.xml # nucleus/hk2/hk2-config/pom.xml # nucleus/packager/external/j-interop/pom.xml # nucleus/packager/external/jmxremote_optional/pom.xml # nucleus/packager/external/ldapbp/pom.xml # nucleus/packager/external/opentelemetry-repackaged/pom.xml # nucleus/packager/external/opentracing-repackaged/pom.xml # nucleus/packager/external/tiger-types/pom.xml # nucleus/packager/external/trilead-ssh2/pom.xml # nucleus/payara-modules/hazelcast-bootstrap/pom.xml # nucleus/payara-modules/healthcheck-core/pom.xml # nucleus/payara-modules/healthcheck-stuck/pom.xml # nucleus/payara-modules/opentracing-adapter/pom.xml # nucleus/payara-modules/payara-executor-service/pom.xml # nucleus/payara-modules/requesttracing-core/pom.xml # nucleus/resources/pom.xml # nucleus/security/core/pom.xml # nucleus/security/services/pom.xml # nucleus/security/ssl-impl/pom.xml # nucleus/test-utils/utils/pom.xml # pom.xml
Jenkins test please |
Jenkins test please |
1 similar comment
Jenkins test please |
Description
Oooh, it's a big one. Build separation of core modules from the other ones, while not moving them away from their current locations in source tree.
core
ingroupId
now have parentcore-parent
, and version6.0.0-SNAPSHOT
core-aggregator
(which is not their parent now, but one level higher)core-bom
. (andpayara-bom
reexportscore-bom
)core-aggregator
core-aggregator
is parent ofpayara-aggregator
so that we don't have duplicated propertiesAll of that was plugged back to old aggregator, so that no immediate change to build process is required.
It wasn't the aim of remove duplication of all of the plugin configs and such, rather to keep
core-parent
minimal, as it will grow another responsibilities. Therefore non-core modules did not getcore-parent
as (transitive) parent.I think this is best reviewed by commits:
${project.version}
. There were lots of them.console-common
and its dependencies)Testing
Testing Performed
Builds with empty repo, starts, payara-samples pass.
core/
builds with empty repo on its own.Testing Environment
Maven 3.9.2, Ubuntu 22.04, Zulu-11